<template>
  <div class="home">
      <Search></Search>
      <div class="menuc">
        <Menuchild></Menuchild>
      </div>
        <router-view />
  </div>
  
</template>
  
<script>
import Menuchild from '../components/Menuchild'
export default {
  name: 'Home',
  components: {
    Menuchild
  }
}
</script>
<style scoped>
  .nav {
  height: 0.84rem;
  display: flex;
  align-items: center;
  background-color: #fff;
}
.nav li {
  flex: 1;
  text-align: center;
}
.nav a {
  font-size: 0.28rem;
  position: relative;
}
.navactive {
  color: #33b17b !important;
}
.navactive::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 0.04rem;
  background-color: #33b17b;
  position: absolute;
  bottom: -0.2rem;
  left: 0;
}
</style>
